﻿<!DOCTYPE html>
<meta charset="utf-8">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>NavRouter - Sample application</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">Navigation Router</a>
            </div>

            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li data-bind="navigate: 'pages/p1', activeClass: 'active'"><a>Page 1</a></li>
                    <li data-bind="navigate: 'pages/p2/api-key/75ab9d', activeClass: 'active'"><a>Page 2</a></li>
                    <li data-bind="navigate: 'pages/p3', activeClass: 'active'"><a>Page 3</a></li>
                    <li data-bind="navigateBack: { forceNavigationInCache: true }"><a>&nbsp;Back in Cache</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <div style="height: 60px;"></div>


    <div class="container">
        <div id="views-placeholder">
        </div>
    </div>

    <script src="Scripts/jquery-2.1.4.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
    <script src="Scripts/knockout-3.4.0.debug.js"></script>
    <script src="Scripts/navrouter.js"></script>

    <script src="Scripts-App/viewModels.js"></script>
    <script src="Scripts-App/config.js"></script>
</body>
</html>
